/*
 * Copyright 2007 Jeffrey Palm
 */

abstract class Track {
  
  private final String artist;
  private final String name;
  private final String fileName;

  Track(String artist,String name, String fileName) {
    this.artist = artist;
    this.name = name;
    this.fileName = fileName;
  }

  public final String getArtist() {return this.artist;}
  public final String getName() {return this.name;}
  public final String getFilename() {return this.fileName;}

  public final static class Type {
    private final String s;
    private Type(String s) {this.s = s;}
    public final static Type VIDEO = new Type("video");
    public final static Type AUDIO = new Type("audio");
    public String toString() {return this.s;}
  }
}